package com.ambow.dao;

import java.util.List;

import com.ambow.entity.Message;
import com.ambow.utils.PageResults;

public interface MessageDao {
	public  boolean saveMessage(Message message);
	public List<Message> selectAllMessage();
	public PageResults<Message> getPageByFetchedHql(String hql, String countHql, Integer pageNo, Integer pageSize);
	public Message queryById(Class c, int id);

}
